{extend name="layout/app" /}


{block name="title"}首页{/block}

{block name="content"}
    <h2>欢迎来到首页</h2>
    <p>这是通过模板继承生成的内容。</p>
    <p>用户名: {$username}</p>
{/block}


<?= dump($this->user) ?>